<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>添加书籍</h1>
<form method="post" th:action="@{/book/addBook}">

        <tr>
            <td>书名</td>
            <td><input type="text" value="" name="name"></td><br>
        </tr>
        <tr>
            <td>价格</td>
            <td><input type="text" value="" name="price"></td><br>
        </tr>
        <tr>
            <td>分类</td>
            <td><input type="text" value="" name="category"></td><br>
        </tr>
        <tr>
            <td>库存</td>
            <td><input type="text" value="" name="pnum"></td><br>
        </tr>
        <tr>
            <td>描述</td>
            <td><input type="text" value="" name="description"></td><br>
        </tr>
        <tr>
            <td>作者</td>
            <td><input type="text" value="" name="author"></td><br>
        </tr>
        <tr>
            <td>已售</td>
            <td><input type="text" value="" name="sales"></td><br>
        </tr>

    <input type="submit" value="添加">
</form>
</body>
</html>